package com.lg.erp.service.impl.jml;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lg.erp.entity.jml.TPost;
import com.lg.erp.mapper.jml.TPostMapper;
import com.lg.erp.service.jml.ITPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jml
 * @since 2021-04-12
 */
@Service
public class TPostServiceImpl extends ServiceImpl<TPostMapper, TPost> implements ITPostService{

    @Autowired
    private TPostMapper postMapper;
    @Override
    public TPost selectByName(String pName) {
        return postMapper.selectByName(pName);
    }

    @Override
    public List<TPost> selectAll(String id) {
        return postMapper.selectAll(id);
    }


}
